Optimal. Leaf size=130 \[ \frac {\, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh (c+d x)}{a d}+\frac {2 \, _2F_1\left (1,\frac {3}{n};\frac {3+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^3(c+d x)}{3 a d}+\frac {\, _2F_1\left (1,\frac {5}{n};\frac {5+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^5(c+d x)}{5 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 130, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3302, 1907,
251, 371} \begin {gather*} \frac {\sinh (c+d x) \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b \sinh ^n(c+d x)}{a}\right )}{a d}+\frac {\sinh ^5(c+d x) \, _2F_1\left (1,\frac {5}{n};\frac {n+5}{n};-\frac {b \sinh ^n(c+d x)}{a}\right )}{5 a d}+\frac {2 \sinh ^3(c+d x) \, _2F_1\left (1,\frac {3}{n};\frac {n+3}{n};-\frac {b \sinh ^n(c+d x)}{a}\right )}{3 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 371
Rule 1907
Rule 3302
Rubi steps
\begin {align*} \int \frac {\cosh ^5(c+d x)}{a+b \sinh ^n(c+d x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (1+x^2\right )^2}{a+b x^n} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \left (\frac {1}{a+b x^n}+\frac {2 x^2}{a+b x^n}+\frac {x^4}{a+b x^n}\right ) \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {1}{a+b x^n} \, dx,x,\sinh (c+d x)\right )}{d}+\frac {\text {Subst}\left (\int \frac {x^4}{a+b x^n} \, dx,x,\sinh (c+d x)\right )}{d}+\frac {2 \text {Subst}\left (\int \frac {x^2}{a+b x^n} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {\, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh (c+d x)}{a d}+\frac {2 \, _2F_1\left (1,\frac {3}{n};\frac {3+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^3(c+d x)}{3 a d}+\frac {\, _2F_1\left (1,\frac {5}{n};\frac {5+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^5(c+d x)}{5 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 119, normalized size = 0.92 \begin {gather*} \frac {15 \, _2F_1\left (1,\frac {1}{n};1+\frac {1}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh (c+d x)+10 \, _2F_1\left (1,\frac {3}{n};\frac {3+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^3(c+d x)+3 \, _2F_1\left (1,\frac {5}{n};\frac {5+n}{n};-\frac {b \sinh ^n(c+d x)}{a}\right ) \sinh ^5(c+d x)}{15 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.52, size = 0, normalized size = 0.00 \[\int \frac {\cosh ^{5}\left (d x +c \right )}{a +b \left (\sinh ^{n}\left (d x +c \right )\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.43, size = 25, normalized size = 0.19 \begin {gather*} {\rm integral}\left (\frac {\cosh \left (d x + c\right )^{5}}{b \sinh \left (d x + c\right )^{n} + a}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {cosh}\left (c+d\,x\right )}^5}{a+b\,{\mathrm {sinh}\left (c+d\,x\right )}^n} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________